package com.shop.admin.service;

import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzCategory;
import org.springframework.stereotype.Service;

@Service
public interface AdminCategoryService {

    LdbzResult countCategory(LdbzCategory entity);
    LdbzResult selectByKey(long id);
    LdbzResult editCategory(long id);
    LdbzResult getCategoryList(LdbzCategory entity);
    LdbzResult getCategoryPage(LdbzCategory entity , int page , int limit);
    LdbzResult deleteByKey(String id);
    LdbzResult insertByEntity(LdbzCategory entity);
    LdbzResult updateByKey(LdbzCategory entity);
    LdbzResult getCategoryTree(long fid);
    LdbzResult updateSort(String ids);
}
